import { request } from '@/util/request'
const api =[
	{url:'http://www.easyadmin88.com'}, //测试
	{url:'https://imchat.ikeyun.cn'}, //正式
]
const index = 1;  //0测试 1正式
const url = api[index].url;


export default{		
	addpage:params => request(url + '/addpage',params), //添加页面

	upload:params => request(url + '/index/index/upload',params), //上传图片

	systemFile:params => request(url + '/index/index/uploadfile',params), //系统图片/manager/system.uploadfile/index

	savepage:params => request(url + '/index/index/savepage',params), //编辑页面/manager/mall.diypage/edit

	getPageData:params => request(url + '/index/index/getPageData',params), //查询页面数据/manager/mall.diypage/getPageData

	getGoodsList:params => request(url + '/index/index/getGoodsList',params), //查询页面数据/manager/mall.goods/index

	getKuangjiList:params => request(url + '/index/index/getGoodsScoreList',params), //查询页面数据/manager/mall.scoregoods/index

}
